package com.xiaoxx.model.entity.es;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author HX
 * @since 2024-03-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("code_xzqh_2023")
@ApiModel(value="CodeXzqh2023对象", description="")
public class CodeXzqh2023 implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "行政区划代码")
    @TableId(value = "code", type = IdType.ASSIGN_ID)
    private String code;

    @ApiModelProperty(value = "行政区划")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "行政区划-全称")
    @TableField("name_full")
    private String nameFull;

    @ApiModelProperty(value = "行政区划代码-省")
    @TableField("province_code")
    private String provinceCode;

    @ApiModelProperty(value = "行政区划-省")
    @TableField("province_name")
    private String provinceName;

    @ApiModelProperty(value = "行政区划代码-市")
    @TableField("city_code")
    private String cityCode;

    @ApiModelProperty(value = "行政区划-市")
    @TableField("city_name")
    private String cityName;

    @ApiModelProperty(value = "行政区划代码-区/县")
    @TableField("district_code")
    private String districtCode;

    @ApiModelProperty(value = "行政区划-区/县")
    @TableField("district_name")
    private String districtName;

    @ApiModelProperty(value = "行政区划代码-乡镇/街道")
    @TableField("street_code")
    private String streetCode;

    @ApiModelProperty(value = "行政区划-乡镇/街道")
    @TableField("street_name")
    private String streetName;

    @ApiModelProperty(value = "行政区划级别")
    @TableField("level")
    private Integer level;


}
